package com.knockim.model;

public class Drug {
	
	/*
	 * 商品代码(唯一值)
	 */
	private String code;
	
	/*
	 * 剂型
	 */
	private String form;
	
	/*
	 * 商品名称
	 */
	private String name;
	
	/*
	 * 规格
	 */
	private String format;
	
	/*
	 * 产地
	 */
	private String place;
	
	/*
	 * 单位
	 */
	private String unit;
	
	/*
	 * 旧价格
	 */
	private double oldPrice;
	
	/*
	 * 零售价
	 */
	private double retailPrice;
	
	/*
	 * 分类
	 */
	private String type;
	
	/*
	 * 国药准字
	 */
	private String license;

	/*
	 * 距离
	 */
	private long distance;
	
	/*
	 * 是否收藏
	 */
	private boolean isFavorite;

	public boolean isFavorite() {
		return isFavorite;
	}

	public void setFavorite(boolean isFavorite) {
		this.isFavorite = isFavorite;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getForm() {
		return form;
	}

	public void setForm(String form) {
		this.form = form;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public double getOldPrice() {
		return oldPrice;
	}

	public void setOldPrice(double oldPrice) {
		this.oldPrice = oldPrice;
	}

	public double getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(double retailPrice) {
		this.retailPrice = retailPrice;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getLicense() {
		return license;
	}

	public void setLicense(String license) {
		this.license = license;
	}

	public long getDistance() {
		return distance;
	}

	public void setDistance(long distance) {
		this.distance = distance;
	}
	
}